
/**
 * 根据title选择顶部菜单，然后构建左侧菜单
 * @param title
 */
function mainMenuSelect(title,titleSon,args) {
    var jq = top.jQuery;
    var currMenu = jq('#rootNav').children("li");
    currMenu.each(function(){
        var currTitle = $("a", this).attr("title");
        var menuId = $(this).attr("menuid");
        if(currTitle == title){
            window.parent.toSelectMenu(this,menuId,titleSon,args);
        }
    })
}